
package coffee.listeners;

import coffee.ServerMessage;

/**
 *
 * @author JtR
 */
public class NewMessageEvent {
    private ServerMessage data;
    
    public NewMessageEvent(ServerMessage data) {
        this.data = data;
    }
    
    public ServerMessage getMessage() {
        return data;
    }
}
